function getNowDate() {
    var date = new Date();
    var time = `(${date.getTimezoneOffset()/60}) ${date.getFullYear()}-${date.getMonth()+1}-${date.getDate()} ${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}`;
    return time;
}

function getYMD() {
    var date = new Date();
    return `${date.getFullYear()}-${date.getMonth()+1}-${date.getDate()}`;
}
const clude = {
    getNowDate: getNowDate,
    getYMD: getYMD
}
module.exports = clude;